package org.visionlibrary.image.filters.edge;

import java.awt.Point;

import org.visionlibrary.image.model.ConvolutionKernel;


public class RobertsCross extends TwoKernelEdgeDetector {
	public RobertsCross() {
		horKernel = new ConvolutionKernel(2, 2, new float[] { 1, 0, 0, -1 }, 1, new Point(1, 1));
		verKernel = new ConvolutionKernel(2, 2, new float[] { 0, 1, -1, 0 }, 1, new Point(1, 1));
	}
}
